<?php

namespace App\Http\Controllers\Home;

use App\User;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class IndexController extends Controller
{
    public function index(User $user){
//        dd(auth()->user()->notifications()->get()->toArray());
//        $aa =$user->article->favorite;
//        dd($aa);
        return view('home.index.index');
    }
}
